#!/bin/bash
cd nginx-download-ydbg/
sed -i 's/latest/8.0.0/' docker-compose.yml restart.sh
cd ..

cd service-front/
sed -i 's/xc-uat/8.0.0/' docker-compose.yml restart.sh
cd ..

cd ztapi-main/
sed -i 's/latest/8.0.0/' docker-compose.yml restart.sh
sed -i 's/env: uat-xc/env: pro-app/' docker-compose.yml 
sed -i 's/nacos_user: uat/nacos_user: pro-app/' docker-compose.yml
sed -i 's/nacos_pwd: uat@123/nacos_pwd: pro-app@123/' docker-compose.yml 

cd ..

cd ztapi-schedule/
sed -i 's/latest/8.0.0/' docker-compose.yml restart.sh
sed -i 's/env: uat-xc/env: pro-app/' docker-compose.yml 
sed -i 's/nacos_user: uat/nacos_user: pro-app/' docker-compose.yml
sed -i 's/nacos_pwd: uat@123/nacos_pwd: pro-app@123/' docker-compose.yml 
cd ..

cd ztbas/
sed -i 's/latest/8.0.0/' docker-compose.yml restart.sh
sed -i 's/env: uat-xc/env: pro-app/' docker-compose.yml 
sed -i 's/nacos_user: uat/nacos_user: pro-app/' docker-compose.yml
sed -i 's/nacos_pwd: uat@123/nacos_pwd: pro-app@123/' docker-compose.yml 
cd ..

cd ztsmart/
sed -i 's/latest/8.0.0/' docker-compose.yml restart.sh
cd ..
